//
//  SJZAccountModel.h
//  SJZMetro
//
//  Created by 彭利民 on 2017/6/30.
//  Copyright © 2017年 bwton. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface SJZAccountModel : NSObject <NSCoding>


@property (nonatomic, copy) NSString *userId;
@property (nonatomic, copy) NSString *phone;
@property (nonatomic, copy) NSString *token;
//@property (nonatomic, copy) NSString *merchantName;

// 存储用户
+ (BOOL)saveUserObjectWithUser:(SJZAccountModel *)user;
// 取出用户
+ (SJZAccountModel *)userFromArachiver;

+ (BOOL)isLogin;


@end
